/*
 * @Author: g05047
 * @Date: 2021-06-16 18:02:12
 * @LastEditors: g05047
 * @LastEditTime: 2021-06-17 20:34:23
 * @Description: file content
 */
import { LABORDIS_LIST, LABORDIS_CREATE, LABORDIS_UPDATE, LABORDIS_DELETE, LABORDIS_DETAIL, LABORDIS_INFO } from '@/services/api';
import { request, METHOD } from '@/utils/request';
export async function getLaborList(params) {
    return request(LABORDIS_LIST, METHOD.POST, params);
}
export async function getLaborCreate(params) {
    return request(LABORDIS_CREATE, METHOD.POST, params);
}
export async function getLaborEdit(params) {
    return request(LABORDIS_UPDATE, METHOD.POST, params);
}
export async function getLaborDelete(params) {
    return request(LABORDIS_DELETE, METHOD.DELETE, params);
}
export async function getLaborDetail(params) {
    return request(LABORDIS_DETAIL, METHOD.GET, params);
}
export async function getLaborInfo(params) {
    return request(LABORDIS_INFO, METHOD.GET, params);
}
export default {
    getLaborList,
    getLaborCreate,
    getLaborEdit,
    getLaborDelete,
    getLaborDetail,
    getLaborInfo,
};
